package com.three.aboutus.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.three.core.entity.About;
import com.three.core.vo.R;

/**
 * @FileName: AboutService
 * @Description:
 * @Author: GYX
 * @CreateTime: 2025/3/14 14:23
 * @Version: 1.0.0
 */
public interface AboutService {
    R<Page<About>> findAboutByCondition(Integer currentPage, Integer pageSize);

    R deleteAboutById(Integer id);

    R<About> insertAbout(About about);

    R updateAbout(About about);

    R<About> updateIsValid(About about);

    R<About> selectByName(String name);

    R<About> selectFirst();
}
